package com.zy.explore.sys.interfaces.facade.v1;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.zy.explore.sys.infrastructure.constant.routers.RoleMenuRouter;
import com.zy.explore.sys.interfaces.assembler.RoleMenuAssembler;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * description 表(sys_role_menu)对应mybatis-plus的Facade扩展类
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2022年02月01日 17:18:18
 */
@Api(tags = "RoleMenuFacade扩展门面")
@RestController
@RequestMapping(RoleMenuRouter.ROLE_MENU)
public class RoleMenuFacadeExt {

    /**
     * 注入服务
     */
    @Resource
    private RoleMenuAssembler assembler;

    /**
     * 示例扩展接口
     *
     * @param frm 请求参数对象
     * @return 返回对象
     */
    @ApiOperationSupport(order = 10, author = "🇨🇳中国印🇨🇳")
    @ApiOperation("1示例扩展接口")
    @PostMapping("/ext")
    public Object insert(@RequestBody @Validated Object frm) {
        return null;
    }



}
